// JavaScript Document

var $ = jQuery.noConflict(); 
Cufon.replace('.contactTitle');
function loadTweet(){
	var username = 'jomskiDOoDLe';
	$.getScript('http://twitter.com/statuses/user_timeline/' + username + '.json?callback=twitterCallback2&count=1');
}

(function($){
	$.fn.showdelay = function(){
		var delay = 0;
		return this.each(function(){
		$(this).delay(delay).fadeIn(1000);
		delay += 1000;	
	});
	};
})(jQuery);

$(function(){
	
	$(".workThumb").showdelay();
	$(".thumbBg").fadeTo("slow",0.7);  				   
	$(".thumbBg").hover(function(){
		$(this).stop().fadeTo("slow", 1.0); // This should set the opacity to 100% on hover
		},function(){
		$(this).stop().fadeTo("slow", 0.7);										 
	});
	
	loadTweet();
	
	
	
	
});



